package com.lmxdawn.api.dnf.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户提现申请
 */

@TableName("t_user_bill")
@Data
public class UserBill {

    private Long id ;

    private String userId;

    private String orderId;

    /**
     * 类型 1、订单收入 2、提现转出
     */
    private String type ;

    /**
     * 余额
     */
    private String balance;

    private BigDecimal amount;

    @JsonFormat(pattern = "MM-dd HH:mm", timezone = "GMT+8")
    @JSONField(format = "MM-dd HH:mm")
    private Date createTime ;

    private String createBy;

    private String remark;
}
